<%@ page import="support.*, java.util.*, java.sql.*, javax.sql.*" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %> 
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

<jsp:include page="header.jsp" />

	<div id="content" class="expand">
		<h2>Graduate Application</h2>
		
		<p>Select discipline to view applicants</p>
		
		<%
		HashMap appsForDisc = (HashMap)session.getAttribute("appsForDisc");
		Vector disciplines = new Vector(appsForDisc.keySet());
		
		for (int i = 0; i < disciplines.size(); i++) {
			out.print(disciplines.get(i) + " <a href='applications.do?discipline="
					+ disciplines.get(i) + "'>" + appsForDisc.get(disciplines.get(i)) + "</a> <br/>");
		}
		%>

		
	</div>

</body>
</html>